#pragma once
#include <nice2d/component.h>
#include <nice2d/tilemap.h>

class TileMapPathFinder : public Component
{
public:
    TileMapPathFinder(NodePointer object = nullptr);
    ~TileMapPathFinder();
public:
    uint32_t search(uint32_t from, uint32_t to, bool zoc, std::vector<sf::Vector2i> &list);
private:
    std::unique_ptr<class TileMapPathFinderData> data;
};

